﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.oracle
{
	// Token: 0x02000139 RID: 313
	public class TPlsqlCreateType : TCustomSqlStatement
	{
		// Token: 0x170001E1 RID: 481
		// (get) Token: 0x06000A4A RID: 2634 RVA: 0x00304C5C File Offset: 0x00302E5C
		// (set) Token: 0x06000A49 RID: 2633 RVA: 0x00304C53 File Offset: 0x00302E53
		public virtual int Kind
		{
			get
			{
				return this.kind;
			}
			set
			{
				this.kind = value;
			}
		}

		// Token: 0x170001E2 RID: 482
		// (get) Token: 0x06000A4B RID: 2635 RVA: 0x00304C64 File Offset: 0x00302E64
		// (set) Token: 0x06000A4C RID: 2636 RVA: 0x00304C6C File Offset: 0x00302E6C
		public virtual TTypeAttributeList Attributes
		{
			get
			{
				return this.attributes;
			}
			set
			{
				this.attributes = value;
			}
		}

		// Token: 0x06000A4D RID: 2637 RVA: 0x00304C75 File Offset: 0x00302E75
		public TPlsqlCreateType() : this(EDbVendor.dbvoracle)
		{
		}

		// Token: 0x06000A4E RID: 2638 RVA: 0x00304C7F File Offset: 0x00302E7F
		public TPlsqlCreateType(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstplsql_createtype;
		}

		// Token: 0x170001E3 RID: 483
		// (get) Token: 0x06000A4F RID: 2639 RVA: 0x00304C97 File Offset: 0x00302E97
		// (set) Token: 0x06000A50 RID: 2640 RVA: 0x00304C9F File Offset: 0x00302E9F
		public virtual TObjectName TypeName
		{
			get
			{
				return this.typeName;
			}
			set
			{
				this.typeName = value;
			}
		}

		// Token: 0x06000A51 RID: 2641 RVA: 0x00304CA8 File Offset: 0x00302EA8
		public override void init(object arg1)
		{
			this.typeName = (TObjectName)arg1;
			this.typeName.ObjectType = 27;
		}

		// Token: 0x06000A52 RID: 2642 RVA: 0x00304CC3 File Offset: 0x00302EC3
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x06000A53 RID: 2643 RVA: 0x00304CCE File Offset: 0x00302ECE
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000A54 RID: 2644 RVA: 0x00304CDE File Offset: 0x00302EDE
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x0400127C RID: 4732
		private int kind = 8;

		// Token: 0x0400127D RID: 4733
		private TTypeAttributeList attributes;

		// Token: 0x0400127E RID: 4734
		private TObjectName typeName;
	}
}
